home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 4490 / 4490.xpi / chrome / wmn.jar / content / options.xul < prev    next >
Extensible Markup Language  |  2010-01-14  |  7KB  |  133 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://wmn/content/pref.css" type="text/css"?>
  4. <!DOCTYPE prefwindow SYSTEM "chrome://wmn/locale/overlay.dtd">
  5. <prefwindow title="&pref-title;"
  6.             id="wmn-pref"
  7.             xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  8.       ondialogaccept="onAccept()"
  9.         ondialogcancel="onCancel()"
  10.       onload="onLoad()">
  11.   <script type="application/x-javascript" src="chrome://wmn/content/options.js"/>
  12.   <script type="application/x-javascript" src="chrome://wmn/content/aes.js"/>
  13.   <stringbundleset>
  14.     <stringbundle id="wmn-strings" src="chrome://wmn/locale/overlay.properties"/>
  15.   </stringbundleset>
  16.   <prefpane id="prefPane">
  17.     <preferences id="prefs">
  18.       <preference id="pref-interval" name="extensions.wmn.updateInterval" type="int"/>
  19.       <preference id="pref-openintab" name="extensions.wmn.openInTab" type="bool"/>
  20.       <preference id="pref-newMailsOnly" name="extensions.wmn.newMailsOnly" type="bool"/>
  21.       <preference id="pref-mailAlert" name="extensions.wmn.mailAlert" type="bool"/>
  22.       <preference id="pref-keepAlert" name="extensions.wmn.keepAlert" type="bool"/>
  23.       <preference id="pref-mailSound" name="extensions.wmn.mailSound" type="bool"/>
  24.       <preference id="pref-showStatusbarIcon" name="extensions.wmn.showStatusbarIcon" type="bool"/>
  25.       <preference id="pref-startupOpenWMN" name="extensions.wmn.startupOpenWMN" type="bool"/>
  26.       <preference id="pref-yahooCaptcha" name="extensions.wmn.yahoo.showCaptcha" type="bool"/>      
  27.     </preferences>
  28.     <tabbox>
  29.       <tabs>
  30.         <tab label="&webmail-accounts;"/>
  31.         <tab label="&general;"/>
  32.       </tabs>
  33.       <tabpanels>
  34.         <tabpanel orient="vertical">
  35.             <groupbox>
  36.               <caption label="&webmail-accounts;"/>
  37.               <hbox>
  38.                 <vbox style="width:16em">
  39.                   <menulist id="wmn-hosts" oncommand="checkIsNew();customizeAdvancedView()"/>              
  40.                   <label value="&username;"/>
  41.                   <textbox id="username" size="25" oninput="checkIsNew();"/>                
  42.                   <label value="&password;"/>
  43.                   <textbox type="password" id="password" oninput="setValue('passwd',this.value);"/>
  44.                   <vbox id="advanced">
  45.                     <vbox id="server-box">
  46.                       <label value="&server;"/>
  47.                       <textbox id="server" oninput="checkIsNew();"/>
  48.                     </vbox>
  49.                     <checkbox id="inbox-only" label="&inbox-only;" oncommand="setValue('inboxOnly',this.checked)"/>
  50.                     <checkbox id="show-folders" label="&show-labels;" oncommand="setValue('showFolders',this.checked)"/>
  51.                     <label id="lb-show-folders" value="&show-folders;" collapsed="true"/>
  52.                     <label id="lb-show-labels" value="&show-labels;" collapsed="true"/>
  53.                     <groupbox id="yahoo">
  54.                       <checkbox id="yahoo-captcha" label="&show-captcha-dialog;" preference="pref-yahooCaptcha"/>
  55.                     </groupbox>                 
  56.                   </vbox>
  57.                   <spacer flex="1"/>                
  58.                 </vbox>    
  59.                 <listbox id="wmn-accounts" onselect="onSelect(this.selectedIndex)" style="width:25em">
  60.                   <listhead>
  61.                     <listheader label=" "/>
  62.                     <listheader label="&host;"/>
  63.                     <listheader label="&username;"/>
  64.                     <listheader label="&default;"/>
  65.                   </listhead>
  66.                   <listcols>
  67.                     <listcol/>
  68.                     <listcol/>
  69.                     <listcol flex="1"/>
  70.                     <listcol/>
  71.                   </listcols>
  72.                 </listbox>
  73.               </hbox>
  74.               <hbox>
  75.                 <button id="btn-add" label="&add;" oncommand="onAdd()"/>
  76.                 <button id="btn-delete" label="&delete;" oncommand="onDelete()"/>
  77.                 <spacer flex="1"/>
  78.                 <button label="&import;" oncommand="onImport()"/>
  79.                 <button label="&export;" oncommand="onExport()"/>
  80.                 <spacer flex="1"/>
  81.                 <button label="&scripts;" oncommand="main.showScripts();"/>
  82.               </hbox>              
  83.             </groupbox>              
  84.           <groupbox flex="1">
  85.             <checkbox id="autologin" label="&autologin;"/>
  86.           </groupbox>
  87.         </tabpanel>
  88.         <tabpanel orient="vertical">
  89.           <hbox>
  90.             <groupbox flex="1">
  91.               <caption label="¬ification;"/>
  92.               <radiogroup preference="pref-newMailsOnly">
  93.                 <radio label="&unread-mails;" value="false"/>
  94.                 <radio label="&new-mails;" value="true"/>
  95.               </radiogroup>
  96.             </groupbox>
  97.  
  98.             <groupbox flex="1">
  99.               <caption label="&mail-open;"/>
  100.               <radiogroup preference="pref-openintab">
  101.                 <radio label="&new-tab;" value="true" selected="true"/>
  102.                 <radio label="&new-window;" value="false"/>
  103.               </radiogroup>
  104.             </groupbox>
  105.           </hbox>
  106.  
  107.           <groupbox>
  108.             <hbox align="center">
  109.               <label value="&check-mail-period0;"/>
  110.               <textbox id="updateInterval" style="width:3em;" maxlength="4" preference="pref-interval"/>
  111.               <label value="&check-mail-period1;" />
  112.             </hbox>
  113.           </groupbox>
  114.  
  115.           <groupbox>
  116.             <caption label="&new-message-arrive;"/>
  117.             <checkbox id="show-alert" label="&show-alert;" preference="pref-mailAlert" oncommand="toggleKeepAlert();"/>
  118.             <checkbox id="keep-alert" label="&keep-alert;" class="indent" preference="pref-keepAlert" />
  119.             <hbox align="center" flex="1">
  120.               <checkbox preference="pref-mailSound" label="&play-sound;" flex="1"/>
  121.                 <button label="&advanced;" oncommand="showAdvancedSound();"/>
  122.              </hbox>
  123.           </groupbox>
  124.           <groupbox>
  125.             <caption label="&interface;"/>
  126.             <checkbox label="&show-statusbar-icon;" preference="pref-showStatusbarIcon" />
  127.             <checkbox label="&startup-open-wmn;" preference="pref-startupOpenWMN" />            
  128.           </groupbox>
  129.         </tabpanel>
  130.       </tabpanels>
  131.     </tabbox>
  132.   </prefpane>
  133. </prefwindow>